package sy4_3;

public class demo {
    public static void main(String[] args) {
        Rectangle rectangle=new Rectangle(3,4);
        System.out.println(rectangle.getDiagonal());
        Square square=new Square();
        square.setEdgelength(4);
        System.out.println(square.getDiagonal());
    }
}
